package com.javastar.modules.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javastar.modules.user.entity.UserEntity;
import com.javastar.modules.user.to.UsernameLoginTO;
import com.javastar.modules.user.vo.ReturnUserVO;

import javax.servlet.http.HttpServletResponse;

/**
 * 用户
 *
 * @author zxx
 * @date 2023/7/23
 */
public interface UserService extends IService<UserEntity> {
    /**
     * 手机号或邮箱和密码登陆
     *
     * @param usernameLoginTO
     * @param response
     * @return
     */
    ReturnUserVO phoneOrEmailAndPasswordLogin(UsernameLoginTO usernameLoginTO, HttpServletResponse response);
}
